// import { createStore, applyMiddleware } from 'redux'
// import createSagaMiddleware from 'redux-saga'
// import reducers from './reducers'
// import rootSaga from './saga'
// // 创建一个saga中间件
// const sagaMiddleware = createSagaMiddleware()
// // 创建store
// const store = createStore(reducers, applyMiddleware(sagaMiddleware))
// sagaMiddleware.run(rootSaga)
// export default store